package com.example.check_oa.model.mapper;

import com.example.comment_oa.pojos.attendance.Late;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos_vo.attendanceVo.LateDept;
import com.example.comment_oa.pojos_vo.attendanceVo.LateVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author cjl
* @description 针对表【late】的数据库操作Mapper
* @createDate 2022-10-27 09:44:47
* @Entity com.example.check_oa.model.pojo.Late
*/
@Mapper
public interface LateMapper extends BaseMapper<Late> {
    //某月普通迟到
    List<Late> attenLate(@Param("userNo")String userNo, @Param("is")int is, @Param("day")String day);
    //某月严重迟到
    List<Late> attenBigLate(@Param("userNo")String userNo, @Param("is")int is, @Param("day")String day);
    //部门迟到
    List<LateDept> byDeptLate(@Param("day")String day);
    //本月迟到集合
    List<LateVo> mouthLateList(@Param("day")String day);
}




